home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 April / EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso / EARCD / gfx / show / qt12.lha / qt / Install qt next >
Text File  |  1996-08-10  |  2KB  |  99 lines

  1. ; qt installation script
  2. ; by Marcus Comstedt <marcus@lysator.liu.se>
  3.  
  4. (complete 0)
  5.  
  6. (select
  7.  (askchoice
  8.   (prompt "\nPlease select the appropriate binary\nthat you want to install\n")
  9.   (choices "68020" "68020+fpu" "68030-68060" "68030+fpu" "68040-68060+fpu")
  10.   (help "By selecting the CPU that matches your machine, you will "
  11.     "get a binary specially optimized for your configuration.  "
  12.     "If you are unsure, select 68020.\n\n" @askchoice-help)
  13.   (default 0))
  14.  (set qt_binary "qt")
  15.  (set qt_binary "qt.020fpu")
  16.  (set qt_binary "qt.030")
  17.  (set qt_binary "qt.030fpu")
  18.  (set qt_binary "qt.040fpu")
  19. )
  20.  
  21. (complete 5)
  22.  
  23. (select
  24.  (askchoice
  25.   (prompt "\nDo you want regular or MagicWB icons installed?\n")
  26.   (choices "Regular" "MagicWB")
  27.   (help "Selecting MagicWB will install 8 colour icons using the "
  28.     "Magic Workbench palette.  Selecting regular will "
  29.     "install plain 4 colour icons\n\n" @askchoice-help)
  30.   (default 0))
  31.  (set icondir "")
  32.  (set icondir "MagicWB")
  33. )
  34.  
  35. (complete 10)
  36.  
  37. (set bindir
  38.  (askdir
  39.   (prompt "Select the directory where you want the qt executable")
  40.   (help "This should be a directory where you can easily access qt "
  41.     "via Workbench or CLI/Shell.\n\n" @askdir-help)
  42.   (default @default-dest)
  43.   (disk)
  44.  )
  45. )
  46.  
  47. (set @default-dest bindir)
  48.  
  49. (complete 15)
  50.  
  51. (copyfiles
  52.  (prompt ("\nCopying qt to %s." bindir))
  53.  (source qt_binary)
  54.  (dest bindir)
  55.  (newname "qt")
  56. )
  57.  
  58. (complete 35)
  59.  
  60. (copyfiles
  61.  (prompt ("\nCopying qt.info to %s." bindir))
  62.  (source (tackon icondir "qt.info"))
  63.  (dest bindir)
  64.  (newname "qt.info")
  65.  (noposition)
  66. )
  67.  
  68. (complete 55)
  69.  
  70. (if (askbool (prompt "Do you wish to install the AmigaGuide documentation?")
  71.     (help @askbool-help)
  72.     (default 1))
  73.  (
  74.   (set docdir 
  75.    (askdir
  76.     (prompt "Select the directory where you want the qt documentation")
  77.     (help @askdir-help)
  78.     (default @default-dest)))
  79.  
  80.   (complete 60)
  81.  
  82.   (copyfiles
  83.    (prompt ("\nCopying qt.guide to %s." docdir))
  84.    (source "qt.guide")
  85.    (dest docdir))
  86.  
  87.   (complete 80)
  88.  
  89.   (copyfiles
  90.    (prompt ("\nCopying qt.guide.info to %s." docdir))
  91.    (source (tackon icondir "qt.guide.info"))
  92.    (dest docdir)
  93.    (noposition))
  94.  )
  95. )
  96.  
  97. (complete 100)
  98.  
  99.